#include "fxcc/imgui/Editor.h"
#include "fxcc/core/graph/common/Viewport.h"

using namespace fxcc::graph::common;
using namespace fxcc::imgui;

template <>
bool Editor::Edit(const std::string& label, Viewport& inst)
{

    EditInst<float>("left", inst.left);
    EditInst<float>("right", inst.right);
    EditInst<float>("bottom", inst.bottom);
    EditInst<float>("top", inst.top);
    EditInst<float>("zNear", inst.zNear);
    EditInst<float>("zFar", inst.zFar);


    return false;
}
